Optimizations and enhancements to the IEEE RSTP 802.1w implementation

ABSTRACT

In an embodiment, a method for supporting dynamic configuration changes, includes: receiving a message from a current root bridge; comparing the bridge media access control (MAC) address of a receiving port to the bridge MAC address of the received message; if the bridge MAC addresses are not the same, then comparing a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior, then determining if the port receiving the message is a qualified root port; and if the port is a qualified root port, then returning a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of prior U.S. patent application Ser.No. 10/326,494, entitled “Optimizations and Enhancements to the IEEERSTP 802.1w Implementation,” filed on Dec. 20, 2002, now U.S. Pat. No.7,379,429.

TECHNICAL FIELD

Embodiments of the present invention relate generally to communicationnetworks. More particularly, embodiments of the present inventionprovide optimizations and enhancements to the IEEE RSTP 802.1wimplementation.

BACKGROUND

The Institute of Electrical and Electronics Engineers (IEEE) 802.1DSpanning-Tree Protocol (STP) standard provides distributed routing overmultiple Local Area Networks (LANs) that are connected by bridges. The802.1D standard is presented in detail in IEEE Standard for Local andMetropolitan Area Networks—Common Specification, Part 3: Media AccessControl (MAC) Bridges (The Institute of Electrical and ElectronicsEngineers, Inc., New York, N.Y. 1998), which is hereby fullyincorporated herein by reference. The 802.1D standard was designated ata time where recovering network connectivity within about 60 secondsafter an outage was considered as adequate performance. For any networktopology changes, the convergence time in the 802.1D standard is usuallyabout 50 seconds (i.e., two times the forward delay plus a maximum agetime).

The IEEE 802.1w Rapid Spanning-Tree Protocol (RSTP) standard reduces theconvergence time as compared to the 802.1D standard and may beconsidered as an evolution of the 802.1D standard. The 802.1w standardis presented in detail in IEEE Standard for Local and Metropolitan AreaNetworks—Common Specification, Part 3: Media Access Control (MAC)Bridges—Amendment 2: Rapid Reconfiguration, (The Institute of Electricaland Electronics Engineers, Inc., New York, N.Y. 2001), which is herebyfully incorporated herein by reference. When a bridge failure or portfailure occurs, the RSTP protocol will calculate a new proposal (aloop-free topology) within typically a response time of about 300milliseconds by deciding which particular ports will be a forwardingport and a blocking port. A port failure can include a link failure or acreation of a new link.

However, there is a need for further enhancements and optimizations tothe implementation of the IEEE 802.1w standard.

SUMMARY OF EMBODIMENTS OF THE INVENTION

In one embodiment of the invention, a method for supporting dynamicconfiguration changes, includes:

receiving a message from a current root bridge;

comparing the bridge media access control (MAC) address currently heldby a receiving port in a Port Priority Vector of the receiving port tothe bridge MAC address of the received message;

if the bridge MAC addresses are not the same, then comparing a currentpriority value to a previous priority value of the current root bridge;

if the current priority value is inferior, then determining if the portreceiving the message is a qualified root port; and

if the port is a qualified root port, then returning a superiordesignated message to permit each bridge to execute a rapid spanningtree calculation for use in a dynamic configuration change.

In another embodiment of the invention, an apparatus with bridgefunctionality in a network, includes:

a port information state machine configured to:

-   -   receive a message from a current root bridge;    -   compare the bridge media access control (MAC) address of a        receiving port to the bridge MAC address of the received        message;    -   if the bridge MAC addresses are not the same, then compare a        current priority value to a previous priority value of the        current root bridge;    -   if the current priority value is inferior, then determine if the        port receiving the message is a qualified root port; and    -   if the port is a qualified root port, then return a superior        designated message to permit each bridge to execute a rapid        spanning tree calculation for use in a dynamic configuration        change.

In another embodiment of the invention, a method of enhancing a TopologyChange State Machine in the rapid spanning-tree protocol (RSTP),includes:

determining if an event is a valid topology change event;

stopping the tcWhile timers globally on the bridge;

propagating a new topology change event as a latest topology changeevent to all bridges across the network; and

in response to the new topology change event, initiating a flushingcycle of learned addresses on all bridges across the network.

In another embodiment of the invention, an apparatus with bridgefunctionality in a network, includes:

a Topology Change State Machine configured to:

-   -   determine if an event is a valid topology change event;    -   stop a tcWhile timer;    -   propagate a new topology change event as a latest topology        change event to all bridges across the network; and    -   initiate a flushing cycle of learned addresses on all bridges        across the network, in response to the new topology change event

In another embodiment of the invention, a method of steady stateoptimization in the rapid spanning-tree protocol (RSTP), includes:

detecting for a steady state condition; and

avoiding the invocation of a Port Role Transition (PRT) State Machineduring the steady state condition.

In another embodiment of the invention, an apparatus for steady stateoptimization in the rapid spanning-tree protocol (RSTP), includes:

a bridge configured to detect for a steady state condition and avoid theinvocation of a Port Role Transition (PRT) State Machine during thesteady state condition.

These and other features of an embodiment of the present invention willbe readily apparent to persons of ordinary skill in the art upon readingthe entirety of this disclosure, which includes the accompanyingdrawings and claims.

BRIEF DESCRIPTION OF THE DRAWINGS

Non-limiting and non-exhaustive embodiments of the present invention aredescribed with reference to the following figures, wherein likereference numerals refer to like parts throughout the various viewsunless otherwise specified.

FIGS. 1 through 4 are block diagrams shown for the purpose of describingvarious terminologies for port roles in the 802.1w standard.

FIG. 5 is a block diagram that illustrates various field values in aBridge Protocol Data Unit (BPDU) packet.

FIG. 6 is a diagram of a topology shown for purposes of describing amethod of determining the more useful BPDUs between two different BPDUs.

FIG. 7 illustrates a flowchart of a method to provide for rapidconvergence followed by dynamic configuration changes, in accordancewith an embodiment of the invention.

FIG. 8 is a diagram illustrating various BPDU messages.

FIG. 9 is a diagram that illustrates the beginning of a Topology ChangeNotice (TCN).

FIG. 10 is a diagram that illustrates the sending of a TCN to bridgesthat are connected to bridge FDRY2.

FIG. 11 is a diagram that illustrates the completion of a TCNpropagation.

FIG. 12 is a flowchart illustrating a method of enhancing the TopologyChange State Machine in the RSTP protocol, in accordance with anembodiment of the invention.

FIG. 13 is a block diagram illustrating various state machinesconfigured for steady state optimization, in accordance with anembodiment of the invention.

FIG. 14 is a block diagram that illustrates a method of steady stateoptimization, in accordance with an embodiment of the invention

FIG. 15 is a block diagram that illustrates another method of steadystate optimization, in accordance with an embodiment of the invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

In the description herein, numerous specific details are provided, suchas examples of components and/or methods, to provide a thoroughunderstanding of embodiments of the invention. One skilled in therelevant art will recognize, however, that an embodiment of theinvention can be practiced without one or more of the specific details,or with other apparatus, systems, methods, components, materials, parts,and/or the like. In other instances, well-known structures, materials,or operations are not shown or described in detail to avoid obscuringaspects of embodiments the invention.

FIGS. 1 through 4 are block diagrams shown for the purpose of describingvarious terminologies for port roles in the 802.1w (rapid spanning-treeprotocol or RSTP) standard. The port receiving the best Bridge ProtocolData Unit (BPDU) on a bridge is a “root port”. This is the port that isclosest to the root bridge in terms of path cost. In the example of FIG.1, the root bridge 105 is coupled to a root port 110 of a bridge 115 andto a root port 120 of a bridge 125. The root bridge sends BPDUs that aremore useful than BPDUs that any other bridge can send. The root bridgeis the only bridge in the network that does not have a root port. Allother bridges receive BPDUs on at least one port.

A port is a “designated port” if it can send the best BPDU on thesegment to which it is connected. The 802.1w bridges (as well as 802.1Dbridges) create a bridge domain by linking together different segmentssuch as, for example, Ethernet segments. On a given segment, there canonly be one path toward the root bridge. If there were two paths, thenthere would be a bridging loop in the network. All bridges connected toa given segment listen to each other's BPDUs and agree on the bridgesending the best BPDU as the designated bridge for the segment. Thecorresponding port on that bridge is designated. In the example of FIG.2, the designated ports are shown as ports 205 and 210 on the rootbridge 105 and port 215 on the bridge 125.

A “blocked port” is defined as not being the designated port or the rootport. A blocked port receives a more useful BPDU than the BPDU it wouldsend out on its segment. An “alternate port” is a port blocked byreceiving more useful BPDUs from another bridge. In the example of FIG.3, the alternate port is denoted as 305 on the bridge 115.

A “backup port” is a port blocked by receiving more useful BPDUs fromthe same bridge on which the port is located. In the example of FIG. 4,the backup port is denoted as 405 on the bridge 125.

FIG. 5 is a block diagram that illustrates various values in a BridgeProtocol Data Unit (BPDU) 500. BPDUs are data messages that areexchanged across the switches within an extended LAN that uses aspanning tree protocol topology. BPDU packets contain information on,for example, ports, addresses, priorities and costs and ensure that thedata ends up where the data was intended to go. BPDU messages areexchanged across bridges to detect loops in a network topology. Theloops are then removed by shutting down selected bridge interfaces andplacing redundant switch ports in a backup, or blocked, state. The BPDU500 may also be generally referred to as messages.

In an embodiment, a BPDU 500 typically includes a root identification(ID) 505 which contains the same information as the bridge ID(identifier) in the following format (bridge priority:lowest MACaddress), a path cost 510, a transmitting bridge ID 515, a transmittingport ID 520, and a receiving port ID 525. To determine the more usefulor better BPDU between two particular different BPDU, the BPDU values inFIG. 5 are compared. The BPDU with the numerically lower value isselected as the more useful BPDU.

Support for Dynamic Configuration Changes

FIG. 6 shows a diagram of a topology 600 in order to describe a methodof determining the more useful BPDUs between two different BPDUs, wherethe topology 600 includes the bridges 601 through 604. Assume that afirst BPDU (i.e., first message) 605 has the following values: [rootbridge ID 505, path cost 510, transmitting bridge ID 515, transmittingport ID 520, receiving port ID 525]=[100, 64, 400, 4/2]. Assume furtherthat a second BPDU (i.e., second message) 610 has the following values:[root bridge ID 505, path cost 510, transmitting bridge ID 515,transmitting port ID 520, receiving port ID 525]=[100, 64, 200, 3/2].The BPDU 610 will be selected as the more useful BPDU because it has alower bridge ID of value 200. Thus, the port 3/2 in bridge 602 will beselected as a designated port, and the port 4/2 in bridge 603 will beselected as an alternate port.

In the example of FIG. 6, assume that the current root bridge is bridge601 with a bridge ID equal to 100. Assume that the bridge ID of currentroot bridge 601 is changed from Bridge ID=100 to Bridge ID=700. Thebridge ID value is typically changed by a network administrator. In theRSTP algorithm, in response to the change in bridge ID, convergence willoccur followed by dynamic configuration changes. Dynamic configurationchanges typically include changes in the RSTP bridge priority andchanges in the port priority. The convergence time may be as long asapproximately 7 seconds to approximately 8 seconds. As a result, thisconvergence time does not meet the required time length limit ofapproximately 300 milliseconds that is desired for core switching.

In one embodiment of the invention, FIG. 7 illustrates a flowchart of amethod 700 to provide for rapid convergence followed by dynamicconfiguration changes, in accordance with an embodiment of theinvention. In one embodiment, the actions being performed in FIG. 7 aretypically performed by a PIM (port information state machine) 1005 (seeFIG. 13). The PIM 1005 can be configured to perform these functions byuse of standard programming techniques. A bridge ID of the current rootbridge is changed (705) by, for example, a network administrator. Thebridge ID includes a bridge priority value and a bridge MAC address,while a port ID includes a port priority value and a port number.

A receiving port connected to a port of the current root bridge thenreceives (710) a BPDU message from the current root bridge. A check(715) is performed to determine if the bridge MAC address currently heldin the Port Priority Vector of the receiving port (e.g., in bridge 602of FIG. 7) is the same as the bridge MAC address of the received BPDU todetermine which numerical value is better. For details on the PortPriority Vector, see Section 17.18.17 in the above-noted reference onthe 802.1w standard.

As noted, the root ID comprises the union of the priority value and thebridge MAC address. If the bridge MAC addresses are the same, thenstandard processing (720) is performed under the 802.1w standard toachieve the dynamic configuration change in the system 600. For example,the MAC addresses may remain as 4/1 in this case.

If the bridge MAC addresses are not the same, then a check (725) isperformed to determine if the current priority value is inferior to theold (or previous) priority value for a bridge. For example, assume thatthe bridge 601 has an old priority value of 100. If the networkadministrator changes the priority value to 40, then the currentpriority value of 40 will not be inferior to the old priority value. Ifthe current priority value is not inferior to the old priority value,then standard processing (720) is performed under the 802.1w standard toachieve the dynamic configuration change in the system 600.

As another example, if the network administrator changes the priorityvalue to 4000, then the current priority value of 4000 will be inferiorto the old priority value of 100. If the current priority value isinferior to the old priority value, then a check (730) is made todetermine if the receiving port on the bridge is a qualified root port.A qualified root port is defined as: (1) while the “rrwhile” timer hasnot timed out, the role of the port is equal to the selected role whichis equal to the root port; and (2) the “rcvdInfowhile” timer has nottimed out. An rrwhile timer running on a port means that the role of theport is ROOT PORT. Only the ROOT PORT will have the rrwhile timer at anygiven point on a non-root bridge. The rcvdInfowhile timer is used todetermine if the message which is held by a root port, alternate port orbackup port should be aged out.

The check (730) for a qualified root port is performed because whenbridge 601 transmits a new message corresponding to the new priorityvalue, it may be possible that a root port (e.g., port 3/1 in bridge602) has already been established. If the receiving port is not aqualified root port, then standard processing (720) is performed underthe 802.1w standard to achieve the dynamic configuration change in thesystem 600.

If the port is a qualified root port, then the receiving port returns(750) the following BPDU message 800, as also shown in FIG. 8: “superiordesignated message” 805. In response to the superior designated message805, each bridge will execute (755) the RSTP calculation, and based uponthe RSTP calculation result, each bridge will perform (760) a dynamicconfiguration change.

FIG. 8 is a diagram illustrating various types of BPDU messages 800,including a superior designated message 805, a repeated designatedmessage 810, a confirmed root message 815, and other message 820. If abridge port receives a superior message that it has not received before,the message is categorized as a superior designated message 805 when thebridge port receives the same message after a hello interval. The secondand consecutive superior messages are categorized as a repeateddesignated message 810.

The repeated designated message 810 is defined as a superior messagethat has been received by the bridge port before, and this message 810is more superior than the message which can be transmitted by thisparticular bridge port.

The confirmed root message 815 is sent by a root port in order to signalthe root port's connected designated port, so that the designated portcan rapidly transition itself into a forwarding state. A confirmed rootmessage 815 will have a role of root port and an agreement flag that isset in the confirmed root message 815.

An “other message” 820 is either an inferior message or a topologychange indicating messages like TCN (topology change notice), or TCacknowledgement, or RST BPDU with TC flag set, or other suitablemessages.

Optimizations in the Topology Change State Machine

When an RSTP bridge detects a topology change, the following eventstypically occur. First, the bridge starts a tcWhile timer with a valueequal to twice the hello time for all its non-edge designated ports andits root port if necessary. Second, the bridge flushes the MAC addressesassociated with all these ports. Third, as long as the tcWhile timer isrunning on a port, the BPDUs sent out of that port have the TC bit (TCflag) set. BPDUs are also sent on the root port while the tcWhile timeris active.

When a bridge receives a BPDU with the TC bit (TC flag) set from aneighbor, the following events typically occur as described below. TheBPDU with the TC flag is hereinafter denoted as “RSTP TCN”. The RSTP TCNperforms the function of topology change detection and topology changepropagation across the entire network. First, the bridge clears the MACaddresses that have been learned on all its ports except the one thatreceived the topology change. Second, the bridge starts the tcWhiletimer and sends BPDUs with the TC flag set on all its designated portsand root port. The RSTP protocol no longer uses the specific TCN BPDU(Topology Change Notification BPDU), unless a legacy bridge needs to benotified. Thus, notification of the topology change is transmitted veryquickly across the entire network.

The Topology Change state machine generates and propagates the topologychange notification messages on each port. When a root port or adesignated port goes into a forwarding state, the Topology Change statemachine 1030 (FIG. 13) on those ports sends a topology change notice(TCN) to all bridges in the topology to propagate the topology change.It is noted that edge ports, alternate ports, or backup ports do notneed to propagate a topology change. The TCN is sent in the RST BPDUthat a port sends. Ports on other bridges in the topology once theyreceive the RST BPDU, and transmit the RSTP TCN to other bridges untilall the bridges are informed of the topology change. For example, assumethat port “Port3” in bridge “FDRY2” in FIG. 9 fails. The port “Port4” inbridge “FDRY3” becomes the new root port. The port “Port4” in bridge“FDRY3” sends an RST BPDU with a TCN to port “Port4” in bridge in bridge“FDRY4”. To propagate the above topology change, the port “Port4” inbridge “FDRY4” then starts a TCN timer on the bridge port itself, on thebridge's root port, and on other ports on that bridge with a designaterole. The, the port “Port3” in bridge “FDRY4” sends an RST BPDU with theTCN to the port “Port4” in bridge “FDRY2”. Note the new active Layer 2path in FIG. 9.

The bridge “FDRY2” then starts the TCN timer on the designated ports andsends RST BPDUs that contain the TCN as shown in FIG. 10. The port“Port5” in bridge “FDRY2” sends the TCN to port “Port2” in bridge“FDRY5”. The port “Port4” in bridge “FDRY2” sends the TCN to port“Port4” in bridge “FDRY6”. The port “Port2” in bridge “FDRY2” sends theTCN to port “Port2” in bridge “FDRY1”. Then, bridge “FDRY1”, bridge“FDRY5”, and bridge “FDRY6” send RST BPDUs that contain the TCN tobridge “FDRY3” and bridge “FDRY4” to complete the TCN propagation.

FIG. 12 is a flowchart illustrating a method 950 of enhancing theTopology Change State Machine (TCM) 1030 (FIG. 13) in the RSTP protocol,in accordance with an embodiment of the invention. The TCM firstdetermines or recognizes (951) if an event is a valid topology changeevent. A valid topology change event is defined as: (1) a forwardingstate on a non-edge port designated, and a forwarding state on a rootport. In other words, a valid topology change is detected when anon-edge port is put into a forwarding state by a Port State TransitionMachine (PST). Corresponding to this event, the Topology Change StateMachine (TCM) enters into a “DETECTED” state and starts the tcWhiletimer on itself. It is noted that the tcWhile timer operates on aport-level and not on a bridge-level. A root port sends out an RSTP TCNat an interval (e.g., every approximately 2 seconds) and up to theexpiration of a tcWhile timer (e.g., approximately 4 seconds). Otherports in other bridges receive the RSTP TCN from the root port, and eachof the other bridges then start their tcWhile timers (e.g., tcWhiletimers. Since the tcWhile timers of the other bridges have started, thebridges will also send out RSTP TCNs at an interval (e.g., every 2seconds) until their tcWhile timers expire.

In order to distinguish between a topology change detection and atopology change propagation by use of the RSTP TCN, a method inaccordance with an embodiment of the invention provides the following.When the PST places a non-edge port into a forwarding state, an RSTP TCNis sent to all designated ports in the bridge and all tcWhile timers areglobally stopped (953) on the bridge. As a result, the inactive tcWhiletimers do not permit the transmissions of additional RSTP TCNs. Bystopping all tcWhile timers, this new topology change event ispropagated or signaled (955) as the latest topology change event to allbridges across the network. If a new topology change event has occurred,then a new flushing cycle of learned MAC addresses is initiated (957) onall bridges across the network. If there is no new topology changeevent, then a flushing cycle of the learned MAC addresses is notperformed.

Thus, if the tcWhile timer is active, flushing of the learned MACaddresses is not performed if a port receives a second and subsequentRSTP TCNs. The method 950 therefore eliminates the duplicate flushingcycles of MAC addresses when a second and subsequent RSTP TCNs arereceived in response to a topology change events.

Steady State Optimizations in the PIM State Machine

FIG. 13 is a block diagram that illustrating various state machinesconfigured for steady state optimization, in accordance with anembodiment of the invention. In the steady state, the designated portson a bridge will send repeated designated messages. In the steady state,one goal is to minimize the invocation of the state machines 1005 to1030 due to the intensive CPU tasks that are required for the statemachines. As shown in FIG. 13, a bridge 1000 typically includes thefollowing state machines: Port Information State Machine (PIM) 1005,Port Role Selection State Machine (PRS) 1010, Port Role Transition StateMachine (PRT) 1015, Port Transmit State Machine (PTX) 1020, Port StateTransition State Machine (PST) 1025, and Topology Change State Machine(TCM) 1030. For a port 1035 that is enabled, 128 spanning tree instanceson the 6 state machines will typically run on the port 1035.

In an embodiment of the invention, when the repeated designated messagesare sent (during steady state), invocation of the PRT state machine 1015is avoided. By not invoking the PRT state machine 1015 during steadystate, the invocation of the PTX state machine 1020, PST state machine1025, and TCM state machine 1030 are also avoided. This advantageouslyavoids unnecessary CPU intensive tasks during steady state.

In a steady state of a given topology, a root port has the rrWhile timerrunning, while an alternate port and a backup port has the fdWhile timerrunning. In the steady state, applicant has observed that the expiry ofthese timers have no relevant computational function other than tosignal the restart these particular timers. In an embodiment of theinvention, if a repeated designated message is received by a root port,then the rrWhile timer is re-started. If a repeated designated messageis received by an alternate port, then the fdWhile timer is re-started.If a repeated designated message is received on an alternate port, wherethe proposal flag is set on the repeated designated message and the portstated indicated in the BPDU is forwarding, then the proposal flag willbe ignored.

For example, as shown in the system 1400 FIG. 14, assume that bridge1405 has a root ID of (100:MAC1) and bridge 1410 has a root ID of(1000:MAC2). The first time that the message 1415 is received, themessage will be a superior designated message. The second time that thesuperior designated message is received, it will be a repeateddesignated message. The repeating message will indicate a steady statecondition. Thus, in the steady state, if a root port (2/1) in bridge1410 receives a superior designated message and a repeated designatedmessage, then the rrWhile timer and fdWhile timer are re-started (andtherefore not permitted to expire) by the PIM 1005 (FIG. 13). As aresult, in the steady state, an embodiment of the inventionadvantageously avoids the timer expiration process of previousapproaches and avoids the additional processing tasks required in thetimer expiration process.

FIG. 15 is a block diagram that illustrates another method of steadystate optimization, in accordance with an embodiment of the invention.In the example of system 1500, assume the following parameters. Thebridge 1505 has a root ID of (100:MAC1), the bridge 1507 has a root IDof (200: MAC2), and the bridge 1517 had a root ID of (300:MAC3). Anactive traffic port is formed between the designated port and root port.Thus, if a ping message is to be sent to a device 1509 (e.g., a laptopcomputer), then the ping message will follow the active traffic port.The PRS state machine 1010 (FIG. 13) is not invoked during the followingconditions. The designated port is 1515, while the alternate port is inbridge 1517. The designated port 1515 goes into a forwarding state onlyafter two (2) instances of expiration of the fdWhile timer and will besending proposals to the alternate port in the bridge 1517, while thisalternate port will not transmit messages to the designated port at all.In an embodiment of the invention, when a BPDU proposal flag isreceived, the PRS and PRT are not invoked since the designated port hasbeen attached to the alternate port. Thus, the additional processingtasks during these state machine invocations are advantageously avoided.It is noted, however, that if the BPDU proposal was received from device1519 (e.g., a personal computer) or switch 1521 then the PRS is invokedin order to be compliant with the 802.1w standard. In this case, theBPDU proposal may have a new value and the port designations may change.As a result, the PRS will be required to be invoked.

The various engines discussed herein may be, for example, software,commands, data files, programs, code, modules, instructions, or thelike, and may also include suitable mechanisms.

Reference throughout this specification to “one embodiment”, “anembodiment”, or “a specific embodiment” means that a particular feature,structure, or characteristic described in connection with the embodimentis included in at least one embodiment of the present invention. Thus,the appearances of the phrases “in one embodiment”, “in an embodiment”,or “in a specific embodiment” in various places throughout thisspecification are not necessarily all referring to the same embodiment.Furthermore, the particular features, structures, or characteristics maybe combined in any suitable manner in one or more embodiments.

Other variations and modifications of the above-described embodimentsand methods are possible in light of the foregoing teaching.

Further, at least some of the components of an embodiment of theinvention may be implemented by using a programmed general purposedigital computer, by using application specific integrated circuits,programmable logic devices, or field programmable gate arrays, or byusing a network of interconnected components and circuits. Connectionsmay be wired, wireless, by modem, and the like.

It will also be appreciated that one or more of the elements depicted inthe drawings/figures can also be implemented in a more separated orintegrated manner, or even removed or rendered as inoperable in certaincases, as is useful in accordance with a particular application.

It is also within the scope of the present invention to implement aprogram or code that can be stored in a machine-readable medium topermit a computer to perform any of the methods described above.

Additionally, the signal arrows in the drawings/Figures are consideredas exemplary and are not limiting, unless otherwise specifically noted.Furthermore, the term “or” as used in this disclosure is generallyintended to mean “and/or” unless otherwise indicated. Combinations ofcomponents or actions will also be considered as being noted, whereterminology is foreseen as rendering the ability to separate or combineis unclear.

As used in the description herein and throughout the claims that follow,“a”, “an”, and “the” includes plural references unless the contextclearly dictates otherwise. Also, as used in the description herein andthroughout the claims that follow, the meaning of “in” includes “in” and“on” unless the context clearly dictates otherwise.

It is also noted that the various functions, variables, or otherparameters shown in the drawings and discussed in the text have beengiven particular names for purposes of identification. However, thefunction names, variable names, or other parameter names are onlyprovided as some possible examples to identify the functions, variables,or other parameters. Other function names, variable names, or parameternames may be used to identify the functions, variables, or parametersshown in the drawings and discussed in the text.

The above description of illustrated embodiments of the invention,including what is described in the Abstract, is not intended to beexhaustive or to limit the invention to the precise forms disclosed.While specific embodiments of, and examples for, the invention aredescribed herein for illustrative purposes, various equivalentmodifications are possible within the scope of the invention, as thoseskilled in the relevant art will recognize.

These modifications can be made to the invention in light of the abovedetailed description. The terms used in the following claims should notbe construed to limit the invention to the specific embodimentsdisclosed in the specification and the claims. Rather, the scope of theinvention is to be determined entirely by the following claims, whichare to be construed in accordance with established doctrines of claiminterpretation.

1. A method comprising: at a network device configured to perform a bridging function, examining a message comprising a first bridge media access control (MAC) address of a current root bridge; if the first bridge MAC addresses and a second bridge MAC address currently held by a receiving port of the network device are not the same, then comparing a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior to the previous priority value, then determining if the port receiving the message is a qualified root port; and if the port is a qualified root port, then returning a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 2. The method of claim 1 wherein the message is a bridge protocol data unit (BPDU) packet.
 3. A network device comprising: a memory; and a state machine configured to: examine a message comprising a first bridge media access control (MAC) address of a current root bridge; if the first bridge MAC address and a second bridge MAC address currently held by a receiving port of the network device are not the same, then compare a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior to the previous priority value, then determine if the port receiving the message is a qualified root port; and if the port is a qualified root port, then return a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 4. The network device of claim 3 wherein the message is a bridge protocol data unit (BPDU) packet.
 5. An article of manufacture, comprising: a machine-readable medium having stored thereon instructions to: examine a message comprising a first bridge media access control (MAC) address of a current root bridge; if the first bridge MAC address and a second bridge MAC address currently held by a receiving port of the network device are not the same, then compare a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior to the previous priority value, then determine if the port receiving the message is a qualified root port; and if the port is a qualified root port, then return a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 6. An apparatus comprising: means for, at a network device configured to perform a bridging function, examining a message comprising a first bridge media access control (MAC) address of a current root bridge; means for, if the first bridge MAC address and a second bridge MAC address currently held by a receiving port of the network device are not the same, then comparing a current priority value to a previous priority value of the current root bridge; means for, if the current priority value is inferior to the previous priority value, then determining if the port receiving the message is a qualified root port; and means for, if the port is a qualified root port, then returning a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 7. A method comprising: at a network device configured to perform a bridging function, examining a message comprising a first bridge address of a current root bridge; if the first bridge address and a second bridge address currently held by a receiving port of the network device are not the same, then comparing a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior to the previous priority value, then determining if the port receiving the message is a qualified root port; and if the port is a qualified root port, then returning a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 8. The method of claim 7 wherein the message is a bridge protocol data unit (BPDU) packet.
 9. A network device comprising: a memory; and a state machine configured to: examine a message comprising a first bridge address of a current root bridge; if the first bridge address and a second bridge address currently held by a receiving port of the network device are not the same, then compare a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior to the previous priority value, then determine if the port receiving the message is a qualified root port; and if the port is a qualified root port, then return a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 10. The network device of claim 9 wherein the message is a bridge protocol data unit (BPDU) packet.
 11. An article of manufacture, comprising: a machine-readable medium having stored thereon instructions to: examine a message comprising a first bridge address of a current root bridge; if the first bridge address and a second bridge address currently held by a receiving port of the network device are not the same, then compare a current priority value to a previous priority value of the current root bridge; if the current priority value is inferior to the previous priority value, then determine if the port receiving the message is a qualified root port; and if the port is a qualified root port, then return a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change.
 12. An apparatus comprising: means for, at a network device configured to perform a bridging function, examining a message comprising a first bridge address of a current root bridge; means for, if the first bridge address and a second bridge address currently held by a receiving port of the network device are not the same, then comparing a current priority value to a previous priority value of the current root bridge; means for, if the current priority value is inferior to the previous priority value, then determining if the port receiving the message is a qualified root port; and means for, if the port is a qualified root port, then returning a superior designated message to permit each bridge to execute a rapid spanning tree calculation for use in a dynamic configuration change. 